export interface ListParams {
  pageSize: number;
  pageNums: number;
}

export interface GetSubmitAnwserParams {
  questionId: string;
  anser: string;
  acsId: string;
}

export interface Course {
  id: string;
  level: string;
  bookId: string;
  bookName: string;
  bookIsbn: string;
  wordsno: string;
  startDate: string;
  endDate: string;
  introductBook: string;
}

export interface GetSubmitAnwserResult {
  lastQuestion: string;
  lastLevel: string;
  resultRate?: string;
  books?: string;
  fonts?: string;
  course?: Course;
  [key: string]: any;
}

export interface GameResult {
  id: string;
  courseId: string;
  startPgno: string;
  endPgno: string;
  isDo: string;
  newDate: string;
  thday: string;
}

export interface Option {
  id: string;
  questionId: string;
  description: string;
  optionTab: string;
  isCorrect: string;
  [key: string]: string;
}

export interface QuestionResult {
  id: string;
  title: string;
  bookId: string;
  bookIsbn: string;
  themeId: string;
  categoryId: string;
  answer: string;
  type: string | number;
  model: string;
  questSort: string;
  ifPic: string;
  bigPic: string;
  pic?: string;
  options: Array<Option>;
  [key: string]: any;
}

export interface DetailList {
  id: string;
  assigPic: string;
  jwAttendClassStudentEvaluateId: string;
  createTime?: string;
  updateTime?: string;
  [key: string]: any;
}

export interface HomeWorkResult {
  id: string;
  courseId: string;
  assigEvaluate: string;
  bookName: string;
  jobReq: string;
  assigEvaluateTime: string;
  remark: string;
  detailList?: Array<DetailList>;
  [key: string]: any;
}
